/**
 * lilang
 * Mail.java
 * 2013-9-14下午3:24:48
 */
package com.cq.oa.domain.pof;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import oa.base.hibernate.BaseClass;

/**
 * @author lilang
 *
 */
@Entity
@Table(name = "pof_mail")
public class Mail extends BaseClass implements Serializable{

	/**
	 * lilang
	 * 2013-9-14下午3:25:17
	 */
	private static final long serialVersionUID = 2889799134471619165L;
	
	

	@Column(name = "title")
	private String title;

	@Column(name = "SEND_TO")
	private String sendTo;

	@Column(name = "COPY_TO")
	private String copyTo;

	@Column(name = "BCC_TO")
	private String bccTo;


	@Column(name = "IS_URGENT")
	private Integer isUrgent;

	@Column(name = "MAIL_TYPE")
	private Integer mailType;

	@Column(name = "SEND_ID")
	private Long sendId;

	
	@Column(name = "SEND_CNAME")
	private String sendCname;

	@Column(name = "SEND_EMAIL")
	private String sendEmail;
	
	@Column(name = "SEND_TIME")
	private Date sendTime;

	@Column(name = "BACK_STATUS")
	private Integer backStatus;

	@Column(name = "MAIL_SIZE")
	private String mailSize;

	@Column(name = "MSG")
	private String msg;
	
	@Column(name = "TO_TYPE")
	private String toType;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSendTo() {
		return sendTo;
	}

	public void setSendTo(String sendTo) {
		this.sendTo = sendTo;
	}

	public String getCopyTo() {
		return copyTo;
	}

	public void setCopyTo(String copyTo) {
		this.copyTo = copyTo;
	}

	public String getBccTo() {
		return bccTo;
	}

	public void setBccTo(String bccTo) {
		this.bccTo = bccTo;
	}

	public Integer getIsUrgent() {
		return isUrgent;
	}

	public void setIsUrgent(Integer isUrgent) {
		this.isUrgent = isUrgent;
	}

	public Integer getMailType() {
		return mailType;
	}

	public void setMailType(Integer mailType) {
		this.mailType = mailType;
	}

	public Long getSendId() {
		return sendId;
	}

	public void setSendId(Long sendId) {
		this.sendId = sendId;
	}

	public String getSendCname() {
		return sendCname;
	}

	public void setSendCname(String sendCname) {
		this.sendCname = sendCname;
	}

	public String getSendEmail() {
		return sendEmail;
	}

	public void setSendEmail(String sendEmail) {
		this.sendEmail = sendEmail;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public Integer getBackStatus() {
		return backStatus;
	}

	public void setBackStatus(Integer backStatus) {
		this.backStatus = backStatus;
	}

	public String getMailSize() {
		return mailSize;
	}

	public void setMailSize(String mailSize) {
		this.mailSize = mailSize;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
	
	

}
